﻿using System.Collections.Generic;

namespace SZJT.Framework.Adapter
{
    public class Component
    {
        public string AccountName { get; set; }
        public string Password { get; set; }
        public string OrgUrl { get; set; }
        public string CertName { get; set; }
        public bool IsOrg { get; set; }

        private List<Adapter> _adapters=new List<Adapter>();
        public List<Adapter> Adapters 
        {
            get { return _adapters; }
            set{_adapters = value;}
        }

        private List<Task> _tasks = new List<Task>();
        public List<Task> Tasks 
        {
            get { return _tasks; }
            set { _tasks = value; }
        }

        private List<Plugin> _plugins = new List<Plugin>();
        public List<Plugin> Plugins
        {
            get { return _plugins; }
            set { _plugins = value; }
        }

        private List<SynService> _synServices = new List<SynService>();
        public List<SynService> SynServices
        {
            get { return _synServices; }
            set { _synServices = value; }
        }
    }
}
